package com.builder;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/4/14 9:24
 */
public abstract class AbstractHouse {
    
    // 打地基
    public abstract void buildBasic();
    // 砌墙
    public abstract void buildWalls();
    // 封顶
    public abstract void roofed();
    
    public void build() {
        buildBasic();
        buildWalls();
        roofed();
    }
    
    
}
